<template>
  <div class="avatar-box">
    <img src="~assets/logo.png" alt="">
  </div>
</template>

<script>
export default {
  name: 'Avatar'
}
</script>

<style scoped lang="less">
.avatar-box {
  width: 150px;
  height: 150px;
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;;
  border-radius: 50%;
  box-shadow: 0 0 10px #ddd;
  padding: 10px;
  img {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background-color: #eee;
  }
}
</style>
